package com.yichen.codesandbox.security;

import cn.hutool.core.io.FileUtil;

import java.nio.charset.Charset;

/**
 * @Author: yichenwu
 * @Date:2024/6/26 11:23
 */
public class TestManager {
    public static void main(String[] args) {
        // 开启安全管理器
        System.setSecurityManager(new DefaultSecurityManager());
        FileUtil.writeString("111",
                "E:\\IdeaProject\\ycOJ-code-sandbox\\src\\main\\resources\\application.yml", Charset.defaultCharset());
    }
}
